package com.wangchao.administrator.zenmechi.ui.registactivity;

import com.wangchao.administrator.zenmechi.base.IModle;
import com.wangchao.administrator.zenmechi.base.IPresenter;
import com.wangchao.administrator.zenmechi.base.IView;

import rx.Subscriber;

/**
 * Created by cbb on 2016/10/18.
 * Email: 1023151857@qq.com
 */
public class RegistContract {
    public interface View extends IView{
        void registSuccess(String id);
        void registFailed(String msg);
    }
    public interface  Modle extends IModle{
        void addData(String name, String pwd, Subscriber<String> id);
    }
    public interface Presenter extends IPresenter{
        void getData(String name,String pwd);
    }
}
